﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="SpecialSetting.aspx.cs" Inherits="WXYW.SpecialSetting" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    系统特殊设置管理
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                删除RMA/DOA单
            </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="DELRMANOTxtBox" runat="server" Width="90%" ValidationGroup="DELRAM"></asp:TextBox>
            </td>
            <td style="width: 10%">
                <asp:Button ID="DELRMABtn" runat="server" Text="删除" Width="95%" OnClientClick="javascript:return confirm('你确定要执行删除操作吗？此操作为不可逆操作，请慎重执行！')"
                    OnClick="DELRMABtn_Click" ValidationGroup="DELRMA" />
            </td>
            <td style="width: 50%; color: Red">
                <asp:Label ID="DELRMAMsgLbl" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                DOA/RMA互换
            </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="ExchangeRMADOANOTextBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%">
                <asp:Button ID="ExchangeRMADOANOButton" runat="server" Text="确认" Width="95%" OnClick="ExchangeRMADOANOButton_Click"
                    OnClientClick="javascript:return confirm('你确定要执行转换操作吗？')" />
            </td>
            <td style="width: 10%;">
                已更改为:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="NewRMADOANOTxtBox" runat="server" Width="90%" Enabled="False"></asp:TextBox>
            </td>
            <td style="width: 20%">
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                查看RMA/DOA状态
            </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="QueryStatusRMANOTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%">
                <asp:Button ID="QueryStatusBtn" runat="server" Text="查看" Width="95%" OnClick="QueryStatusBtn_Click" />
            </td>
            <td style="width: 10%">
                当前状态为:
            </td>
            <td style="width: 40%">
                <asp:Label ID="CurrentStatusLbl" runat="server" Width="90%"></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                更换RMA/DOA状态
            </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="ChangeStatusNOTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%;">
                状态更改为:
            </td>
            <td style="width: 15%">
                <asp:DropDownList ID="StatusDDL" runat="server" Width="90%">
                    <asp:ListItem Text="待派单" Value="待派单"></asp:ListItem>
                    <asp:ListItem Text="等待RMA单号确认" Value="等待RMA单号确认"></asp:ListItem>
                    <asp:ListItem Text="收货待确认" Value="收货待确认"></asp:ListItem>
                    <asp:ListItem Text="待修" Value="待修"></asp:ListItem>
                    <asp:ListItem Text="报价确认中" Value="报价确认中"></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="width: 10%">
                <asp:Button ID="ChangeStatusBtn" runat="server" Text="确认" Width="95%" OnClientClick="javascript:return confirm('你确定要更改状态作吗？')"
                    OnClick="ChangeStatusBtn_Click" />
            </td>
            <td style="width: 25%">
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                更换待修产品状态
            </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="cpsFormCodeTextBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%">
                序列号:
            </td>
            <td style="width: 15%">
                <asp:TextBox ID="cpsProductSNTextBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%;">
                状态更改为:
            </td>
            <td style="width: 15%">
                <asp:DropDownList ID="DropDownList1" runat="server" Width="90%">                       
                    <asp:ListItem Text="待修" Value="待修"></asp:ListItem>
                    <asp:ListItem Text="报价确认中" Value="报价确认中"></asp:ListItem>
                    <asp:ListItem Text="维修完毕待发货" Value="维修完毕待发货"></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="width: 10%">
                <asp:Button ID="cpsButton" runat="server" Text="确认" Width="95%" OnClientClick="javascript:return confirm('你确定要更改状态作吗？')"
                    OnClick="cpsButton_Click" />
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                修改RMA/DOA S/N
            </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="ChangeSNNOTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%">
                原S/N:
            </td>
            <td style="width: 15%">
                <asp:TextBox ID="OriginalSNTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%" align="center">
                更改为:
            </td>
            <td style="width: 15%">
                <asp:TextBox ID="NewSNTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%">
                <asp:Button ID="ChangeSNBtn" runat="server" Text="确定" Width="95%" OnClick="ChangeSNBtn_Click"
                    OnClientClick="javascript:return confirm('确定要执行此操作吗？此操作为不可逆操作，请慎重执行！')" />
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                修改备件先行状态
            </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="ChangeBJXXStatusNOTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%;">
                状态更改为:
            </td>
            <td style="width: 15%">
                <asp:DropDownList ID="BJXXStatusDDL" runat="server" Width="95%">
                    <asp:ListItem Text="备件申请-待受理" Value="备件申请-待受理"></asp:ListItem>
                    <asp:ListItem Text="已审批-待发货" Value="已审批-待发货"></asp:ListItem>
                    <asp:ListItem Text="备件已返回" Value="备件已返回"></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="width: 10%">
                <asp:Button ID="ChangeBJXXStatusBtn" runat="server" Text="确认" Width="95%" OnClick="ChangeBJXXStatusBtn_Click" />
            </td>
            <td style="width: 25%">
            </td>
        </tr>
    </table>
        <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                修改备件申请单状态
            </td>
            <td style="width: 5%">
                流水号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="ChgBJApplyCodeTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%;">
                状状态更改为:
            </td>
            <td style="width: 15%">
                <asp:DropDownList ID="ChgBJApplyDropDownList" runat="server" Width="95%">
                    <asp:ListItem Text="备件-待归还确认" Value="备件-待归还确认"></asp:ListItem>
                    <asp:ListItem Text="备件-待返还" Value="备件-待返还"></asp:ListItem>
                    <asp:ListItem Text="备件-待收货确认" Value="备件-待收货确认"></asp:ListItem>
                    <asp:ListItem Text="备件-不同意" Value="备件-不同意"></asp:ListItem>
                    <asp:ListItem Text="备件-同意待发货" Value="备件-同意待发货"></asp:ListItem>
                    <asp:ListItem Text="备件-待审批" Value="备件-待审批"></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="width: 10%">
                <asp:Button ID="ChgBJZTBtn" runat="server" Text="确认" Width="95%" 
                    OnClick="ChangeBJApplyStatusBtn_Click" />
            </td>
            <td style="width: 25%">
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td style="background-color: Silver; width: 15%">
                转工程师             </td>
            <td style="width: 5%">
                单号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="ChangeEngineerNOTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%;">
                序列号:
            </td>
            <td style="width: 15%">
                <asp:TextBox ID="ChangeEngineerSNTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 10%" align="center">
                转给
            </td>
            <td style="width: 15%">
                <asp:DropDownList ID="EngineerDDL" runat="server" Width="95%">
                </asp:DropDownList>
            </td>
            <td style="width: 10%">
                <asp:Button ID="ChangeEngineerBtn" runat="server" Text="确认" Width="95%" OnClick="ChangeEngineerBtn_Click" />
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 30px">
        <tr>
            <td>
                <asp:Label ID="MsgLbl" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
